Automotive FleetWise Integration
Setup Guide
Setup Guide
You must have access to an Automotive Cloud Salesforce environment. The Automotive FleetWise Integration application is deployed to your Mule instance, so you must also have access to the Anypoint Platform org where your application will be deployed.
Reach out to your Salesforce Account Executive to get access to Automotive Cloud and MuleSoft.
Automotive Cloud Setup
For information about Automotive Cloud setup, see Automotive Cloud Setup.
MuleSoft Direct
Automotive FleetWise Integration is available for discovery and deployment through the MuleSoft Direct application in Salesforce Automotive Cloud. To access MuleSoft Direct, navigate to Setup → Integrations → MuleSoft Direct.
Prerequisites
- You must create and configure a Connected App for the OAuth 2.0 Client Credentials Flow.
- AWS authentication details are required during the deployment process. For more information, see Create access keys for the root user.
Salesforce Setup
Create the Context Definition
- Add node with name Event.
- Add below attributes with its data type and respective tag:
AttributeName | Data | DataType |
---|---|---|
vehicleId | STRING | INPUT |
businessObjectType | STRING | INPUT |
eventId | STRING | INPUT |
time | STRING | INPUT |
vehicleName | STRING | INPUT |
measureValue | NUMBER | INPUT |
measureName | STRING | INPUT |
- Map the attribute with SObject:
- Under the Map Data tab of your context definition:
- Click the dropdown and select Edit input mapping.
- Click Generate All mappings.
- Click the dropdown and select Edit SObject mapping to do the context mapping as shown below:
- Under the Map Data tab of your context definition:
Event | Vehicle |
---|---|
vehicleId | Id |
vehicleName | Name |
- Activate your context definition
Create an Expression Set
- From Actionable Event Management, create an expression set with the required conditions and activate the expression set.
Create Actionable Event Orchestration
- Create an Event Type or refer to the existing Event Type:
- Select Automotive as the usage type.
- Select the created Expression set.
- Select the created Context definition.
- Select the Active checkbox, and click Create.
Enable the App
- Log in to Salesforce and navigate to the Setup page.
- Search for the ‘MuleSoft Direct’ page.
- Select the Automotive FleetWise Integration application and click Enable.
- Enter the application display name, target business group, and environment for deployment, then click Next.
- Enter the required information in the subsequent screens, and then click Enable.